package com.ecjtu.stadiumre_servations.entity.dto.DataAnalysisDTO;

import lombok.Data;

import java.time.LocalDate;


@Data
public class DataDetailedDTO {
    /**
     * 场地实际使用时间段
     */
    private String period;
    /**
     * 场馆类型
     */
    private String venueType;
    /**
     * 个人预约和团队预约的  时长
     */
    private Long singleTime;
    private Long groupTime;
    private Long totalTime;
    /**
     * 时长占比
     */
    private Double singleTimeRatio;
    private Double groupTimeRatio;
    /**
     * 利润
     */
    private Double singleProfit;
    private Double groupProfit;
    private Double totalProfit;
    /**
     * 利润占比
     */
    private Double singleProfitRatio;
    private Double groupProfitRatio;
    /**
     * 预约次数
     */
    private Integer singleCount;
    private Integer groupCount;
    private Integer totalCount;
    /**
     * 预约次数占比
     */
    private Double singleCountRatio;
    private Double groupCountRatio;

    public DataDetailedDTO() {
        this.period = "";
        this.venueType = null;

        this.singleTime = 0L;
        this.groupTime = 0L;
        this.totalTime = 0L;

        this.singleTimeRatio = 0.0D;
        this.groupTimeRatio = 0.0D;

        this.singleProfit = 0.0;
        this.groupProfit = 0.0;
        this.totalProfit = 0.0;

        this.singleProfitRatio = 0.0D;
        this.groupProfitRatio = 0.0D;

        this.singleCount = 0;
        this.groupCount = 0;
        this.totalCount = 0;

        this.singleCountRatio = 0.0D;
        this.groupCountRatio = 0.0D;
    }
}
